<?php

namespace IDock\Insurance\ZSIC;

class ZSICEnums
{

    public static $TCI = '0320';//交强险

    public static $VCI = '0356';//商业险

    /**
     * 营业性质
     * @var array $useNatureCode
     */
    public static $useNatureCode = [
        '01' => '2',//非营运
        '02' => '1',//营运
    ];

    /**
     * 号牌颜色代码
     * @var string[] $licenseColorCode
     */
    public static $licenseColorCode = [
        '01' => '1',//蓝
        '02' => '2',//黄
        '03' => '3',//黑
        '04' => '4',//白
        '05' => '5',//绿
        '06' => '6',//白蓝
        '99' => '7',//其他
    ];

    /**
     * 所属性质
     * @var array $attachNature
     */
    public static $attachNature = [
        '01' => '1',//个人
        '02' => '2',//机关/团体
        '03' => '3'//企业
    ];

    /**
     * 车辆用途
     * @var array $causeType
     */
    public static $causeType = [
        '001' => '1',//家庭自用
        '002' => '2',//机关自用
        '003' => '3',//企业自用
        '004' => '4',//出租客车
        '005' => '5',//出租客运
        '006' => '6',//城市公交
        '007' => '7',//公路客运
        '008' => '8',//营业货运
        '009' => '9',//特殊用途
    ];

    /**
     * 车辆种类
     * @var array $carKindCode
     */
    public static $carKindCode = [
        '100' => '1',//客车
        '200' => '2',//货车
        '210' => '3',//低速载货汽车
        '320' => '47',//挂车
        '500' => '',
        '600' => ''
    ];

    /**
     * 燃料(能源)类型
     * @var array
     */
    public static $modelEnergyType = [
        'E01' => '0',
        'E02' => '1',
        'E03' => '2',
        'E04' => '3',
        'E05' => '4',
        'E00' => '9',
    ];

    /**
     * 能源类型
     * @var string[] $energyType
     */
    public static $energyType = [
        'E00' => '9',//其他
        'E01' => '0',//燃油
        'E02' => '1',//纯电动
        'E03' => '2',//燃料电池
        'E04' => '3',//插电式混合动力
        'E05' => '4',//其他混合动力
    ];

    /**
     * 进口车标识
     * @var array $importFlag
     */
    public static $importFlag = [
        'I0' => '',//无
        'I1' => '1',//国产
        'I2' => '3',//合资
        'I3' => '2'//进口
    ];

    /**
     * 关系人证件类型
     * @var array $certificateTypeCode
     */
    public static $certificateTypeCode = [
        '01' => '1',    //身份证
        '02' => '5',    //居民户口簿
        '03' => '6',    //护照
        '04' => '19',   //外国人永久居留身份证
        '05' => '2',    //驾驶证
        '50' => '9',    //组织机构代码
        '51' => '15',   //营业执照
        '52' => '12',   //社会统一信用码
        '99' => '15',   //其他
    ];

    /**
     * 险种代码
     * @var array $coverageCode
     */
    public static $coverageCode = [
        'C01001' => 'MAUTO',//交强险

        'C02001' => 'AOD', //机动车损失保险
        'C02002' => 'NNICK', //附加车身划痕损失险
        'C02003' => 'CDR', //附加修理期间费用补偿险
        'C02004' => 'CTL', //附加车轮单独损失险
        'C02005' => 'EDEC', //附加发动机进水损坏除外特约
        'C02006' => 'AD_MP_AOD', //附加绝对免赔率特约条款(车损)
        'C02007' => 'EEL', //附加新增加设备损失险
        'C02008' => 'CL', //附加车上货物责任险
        'C02009' => '', //附加保险人指定修理厂特约险

        'C03001' => 'ATP', //机动车第三者责任保险
        'C03002' => 'TPL_Holiday', //附加法定节假日限额翻倍险
        'C03003' => 'AMD_ATP', //附加精神损害抚慰金责任险(三者)
        'C03004' => 'DODA_ATP', //附加医保外医疗费用责任险(三者)
        'C03005' => 'AD_MP_ATP', //附加绝对免赔率特约条款(三者)

        'C04001' => 'ADL', //机动车车上人员责任保险(司机)
        'C04002' => 'AMD_ADL', //附加精神损害抚慰金责任险(司机)
        'C04003' => 'DODA_ADL', //附加医保外医疗费用责任险(司机)
        'C04004' => 'AD_MP_ADL', //附加绝对免赔率特约条款(司机)

        'C05001' => 'APL', //机动车车上人员责任保险(乘客)
        'C05002' => 'AMD_APL', //附加精神损害抚慰金责任险(乘客)
        'C05003' => 'DODA_APL', //附加医保外医疗费用责任险(乘客)'
        'C05004' => 'AD_MP_APL', //附加绝对免赔率特约条款(乘客)

        'C08001' => 'AD_MP_JY', //道路救援服务特约条款
        'C08002' => 'AD_MP_JC', //车辆安全检测特约条款
        'C08003' => 'AD_MP_DJ', //代为驾驶服务特约条款
        'C08004' => 'AD_MP_SJ', //代为送检服务特约条款

        //新能源商业险
        'C12001' => 'AOD',//新能源汽车损失保险
        'C12002' => 'NNICK',//附加车身划痕损失险(新能源汽车)
        'C12003' => 'CDR',//附加修理期间费用补偿险(新能源汽车)
        'C12004' => 'CTL',//附加车轮单独损失险(新能源汽车)
        'C12006' => 'AD_MP_AOD',//附加绝对免赔率特约条款(车损)((新能源汽车))
        'C12007' => 'EEL',//附加新增加设备损失险(新能源汽车)
        'C12008' => 'CL',//附加车上货物责任险(新能源汽车)

        'C13001' => 'ATP',//新能源汽车第三者责任保险
        'C13002' => 'TPL_Holiday',//附加法定节假日限额翻倍险(新能源汽车)
        'C13003' => 'AMD_ATP',//附加精神损害抚慰金责任险(三者)(新能源汽车)
        'C13004' => 'DODA_ATP',//附加医保外医疗费用责任险(三者)(新能源汽车)
        'C13005' => 'AD_MP_ATP',//附加绝对免赔率特约条款(三者)(新能源汽车)

        'C14001' => 'ADL',//新能源汽车车上人员责任保险(司机)
        'C14002' => 'AMD_ADL',//附加精神损害抚慰金责任险(司机)(新能源汽车)
        'C14003' => 'DODA_ADL',//附加医保外医疗费用责任险(司机)(新能源汽车)
        'C14004' => 'AD_MP_ADL',//附加绝对免赔率特约条款(司机)(新能源汽车)

        'C15001' => 'APL',//新能源汽车车上人员责任保险(乘客)
        'C15002' => 'AMD_APL',//附加精神损害抚慰金责任险(乘客)(新能源汽车)
        'C15003' => 'DODA_APL',//附加医保外医疗费用责任险(乘客)(新能源汽车)
        'C15004' => 'AD_MP_APL',//附加绝对免赔率特约条款(乘客)(新能源汽车)

        'C16001' => 'ELTD_NEV',//附加外部电网故障损失险
        'C16002' => 'CDZD_NEV',//附加自用充电桩损失保险
        'C16003' => 'CDZR_NEV',//附加自用充电桩责任保险
        'C16004' => 'AIDD_NEV',//附加智能辅助驾驶软件损失补偿险
        'C16005' => 'FD_NEV',//附加火灾事故限额翻倍险

        'C18001' => 'AD_MP_JY', //道路救援服务特约条款
        'C18002' => 'AD_MP_JC', //车辆安全检测特约条款
        'C18003' => 'AD_MP_DJ', //代为驾驶服务特约条款
        'C18004' => 'AD_MP_SJ', //代为送检服务特约条款
    ];

    public static $coverageName = [
        "BZ" => "动车交通事故责任强制险",
        "001" => "辆损失险",
        "0011" => "加车身划痕损失险",
        "0012" => "附加修理期间费用补偿险",
        "0013" => "附加新增加设备损失险",
        "0014" => "附加车轮单独损失险",
        "0016" => "附加发动机进水损坏除外特约条款",
        "0017" => "附加起重、装卸、挖掘车辆损失扩展条款",
        "0018" => "附加特种车辆固定设备、仪器损坏扩展条款",
        "002" => "第三者责任险",
        "0021" => "附加车上货物 责任险",
        "0022" => "附加法定节假日限额翻倍险",
        "003" => "全车盗抢险",
        "0031" => "附加绝对免赔率特约条款（全车盗抢保险）",
        "0041" => "车上人员责任险(司机)",
        "0044" => "车上人员责任险(乘客)",
        "0045" => "道路救援服务特约条款",
        "0049" => "附加精神损害抚慰金责任险",
        "0050" => "附加医保外用药责任险",
        "0051" => "附加绝对免赔率特约险（损失保险）",
        "0052" => "附加绝对免赔率特约险（第三者责任保险）",
        "0053" => "附加绝对免赔率特约险（车上人员责任保险（司机））",
        "0054" => "附加绝对免赔率特约险（车上人员责任保险（乘客））",
        "0055" => "附加精神损害抚慰金责任险（车上人员责任保险（司机））",
        "0056" => "附加医保外医疗费用责任险（车上人员责任保险（司机））",
        "0057" => "附加精神损害抚慰金责任险（车上人员责任保险（乘客））",
        "0058" => "附加医保外医疗费用责任险（车上人员责任保险（乘客））",
        "1121003" => "驾乘人员意外身故保险责任"
    ];


    /**
     * 号牌种类代码
     * @var array $licenseTypeCode
     */
    public static $licenseTypeCode = [
        '01' => '1',//大型汽车
        '02' => '2',//小型汽车
        '03' => '3',//使馆汽车
        '04' => '4',//领馆汽车
        '05' => '5',//境外汽车
        '06' => '6',//外籍汽车
        '07' => '15',//两、三轮摩托车
        '08' => '18',//轻便摩托车
        '09' => '19',//使馆摩托车
        '10' => '20',//领馆摩托车
        '11' => '21',//境外摩托车
        '12' => '22',//外籍摩托车
        '13' => '31',//农用运输车
        '14' => '14',//拖拉机
        '15' => '7',//挂车
        '16' => '23',//教练汽车
        '17' => '17',//教练摩托车
        '18' => '14',//试验汽车
        '19' => '24',//试验摩托车
        '20' => '8',//临时入境汽车
        '21' => '25',//临时入境摩托车
        '22' => '10',//临时行驶车
        '31' => '11',//公安警用汽车
        '32' => '32',//公安民用汽车
        '33' => '26',//公安警用摩托车
        '36' => '12',//武警号牌
        '37' => '13',//军队号牌
        '51' => '',
        '52' => '',
        '99' => '其他',
    ];

    /**
     * 车损险绝对免赔额
     * @var string[] $deductionLimit
     */
    public static $deductionLimit = [
        '0' => '375001',
        '300' => '375002',
        '500' => '375003',
        '1000' => '375004',
        '2000' => '375005',
    ];

    /**
     * 车身划痕险限额
     * @var string[] $deductionLimit
     */
    public static $scratchLimit = [
        '2000' => 'N03001001',
        '5000' => 'N03001002',
        '10000' => 'N03001003',
        '20000' => 'N03001004',
    ];

    /**
     * 客户分类
     * @var string[] $relationTypeCode
     */
    public static $relationTypeCode = [
        'R1' => '1',
        'R2' => '2',
        'R3' => '2'
    ];

    /**
     * 缴税类型
     * @var string[] $taxTypeCode
     */
    public static $taxTypeCode = [
        'T01' => '02',//正常缴税
        'T02' => '03',//完税
        'T03' => '05',//免税
        'T04' => '04',//减税
        'T05' => '',//不缴
        'T06' => '08',//不征
        'T07' => '07',//拒缴
        'T08' => '09',//有争议
    ];

    /**
     * 减免税原因代码
     * @var array $taxReductionReasonCode
     */
    public static $taxReductionReasonCode = [
        'TRR1' => '1', //具备减免税证明
        'TRR2' => '2', //拖拉机
        'TRR3' => '3', //军队、武警专用车
        'TRR4' => '4', //警车
        'TRR5' => '5', //外国使领馆、国际组织及其人员
        'TRR6' => '6', //其他
        'TRR7' => '7', //能源减免
    ];

    /**
     * 减免税方案代码
     * @var array $taxReductionCode
     */
    public static $taxReductionCode = [
        'E' => 'E', //'免税',
        'P' => 'P', //'比例减免',
        'A' => 'A', //'金额减免'
        '' => '',
    ];

    public static $underStats = [
        'U1' => '核保通过',//underwriteSuccess
        'U2' => '退回修改',//underwriteFailure
        'U3' => '人工核保',//manualUnderwrite
        'U4' => '核保失败',//underwriteFailure
        'U5' => '已出保单',//acceptance
        'U6' => '拒保',//underwriteFailure
    ];

    /**
     * 上传证件类型
     * @var array
     */
    public static $uploadImageType = [
        '10001' => '1',//投保人身份证正面照
        '10002' => '1',//投保人身份证反面照
        '10003' => '1',//投保人组织机构代码证照

        '10004' => '18',//被保人身份证正面照
        '10005' => '18',//被保人身份证反面照
        '10006' => '18',//被保人组织机构代码证照

        '10007' => '19',//车主身份证正面照
        '10008' => '19',//车主身份证反面照
        '10009' => '19',//车主组织机构代码证照

        '10010' => '2',//行驶证正页照
        '10011' => '2',//行驶证副页照

        '10012' => '2',//驾驶证正页照
        '10013' => '2',//驾驶证副页照

        '10014' => '6',//车辆正面照片
        '10015' => '6',//车辆正后照片

        '10100' => '6',//'验车照片3',
        '10101' => '6',//'验车照片4',
        '10102' => '6',//'验车照片5',
        '10103' => '6',//'验车照片6',
        '10104' => '6',//'验车照片7',
        '10105' => '6',//'验车照片8',
        '10106' => '6',//'验车照片9',
        '10107' => '6',//'验车照片10',

        '10016' => '5',//合格证
        '10017' => '22',//完税证明
        '10018' => '2',//车辆登记证书
        '10019' => '17',//上年商业险保单照
        '10020' => '17',//上年交强险保单照
        '10021' => '14',//新车发票照

        '90004' => '10',//'关系证明',
        '90009' => '99',//'其他',
    ];


    /**
     * 充电桩种类
     * @var string[] $chargePileKind
     */
    public static $chargingPileKind = [
        'PK1' => '1',
        'PK2' => '2',
        'PK9' => '9'
    ];

    /**
     * 充电桩安装地点类型
     * @var string[] $chargingPileAddressType
     */
    public static $chargingPileAddressType = [
        'PA1' => '1',
        'PA2' => '2'
    ];

    /**
     * 充电桩使用年限
     * @var array $chargingPileYearLimit
     */
    public static $chargingPileYearLimit = [
        'PY1' => '1',
        'PY2' => '2',
        'PY3' => '3'
    ];

    /**
     * 车辆种类
     * @var array
     */
    public static $carType = [
        '01' => '365001',//6座以下
        '02' => '365002',//6-10座
        '03' => '365003',//10-20座
        '04' => '365004',//20-36座
        '05' => '365005',//36座以上
        '06' => '365006',//2吨以下
        '07' => '365007',//2-5吨
        '08' => '365008',//5-10吨
        '09' => '365009',//10吨以上
    ];


    /**
     * 验车情况
     * @var string[] $carCheckCode
     */
    public static $carCheckCode = [
        'CS1' => '1',//未验车
        'CS2' => '2',//免验车
        'CS3' => '3',//已验车
        'CS4' => ''//待补资料
    ];

    /**
     * 免验原因
     * @var array $carCheckReasonKind
     */
    public static $carCheckReasonKind = [
        'CR1' => '3',//单保责任险
        'CR2' => '2',//按期续保
        'CR3' => '1',//新车
        'CR4' => '',//团单
        'CR5' => '',//协议免验
        'CR6' => '',//低验车风险
        'CR7' => '4',//其他原因
        'CR8' => '',//符合免验规定
        'CR9' => '',//按期转保
        'CR10' => '',//未投保损失险别
    ];

    /**
     * 车身颜色
     * vehicleColor
     * @var string[] $vehicleColor
     */
    public static $vehicleColor = [
        '001' => '001',//白色
        '002' => '002',//灰色
        '003' => '003',//黄色
        '004' => '004',//粉色
        '005' => '005',//红色
        '006' => '006',//紫色
        '007' => '007',//绿色
        '008' => '008',//蓝色
        '009' => '009',//棕色
        '010' => '010',//黑色
        '999' => '999',//其他
    ];

}
